/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package HomeWork.demo01;

public class Book {

    /**
     * @2010405121 朱荻
     */
    private int isbn;
    private String title;
    private double price;

    public Book(int isbn, String title, double price) {
        this.isbn = isbn;
        this.title = title;
        this.price = price;
    }

    public static void main(String[] args) {
        Book pbook = new Book(12346, "java课程", 22.54);
        System.out.println("图书编号为:" + pbook.isbn);
        System.out.println("图书名字为:" + pbook.title);
        System.out.println("图书价格为:" + pbook.price);
    }
}
